package com.ruoyi.system.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章信息对象 web_wenzhang
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class WebWenzhang extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    private Long delFlag;

    /** 所属菜单 */
    private Long parentId;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String parentName;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fbrq;

    /** 发布人 */
    @Excel(name = "发布人")
    private String fbr;

    /** 简介 */
    @Excel(name = "简介")
    private String jianjie;

    /** 内容 */
    private String content;

    /** 浏览量 */
    private Long liulanliang;

    /** 附件 */
    @Excel(name = "附件")
    private String fujian;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setParentName(String parentName) 
    {
        this.parentName = parentName;
    }

    public String getParentName() 
    {
        return parentName;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setFbrq(Date fbrq) 
    {
        this.fbrq = fbrq;
    }

    public Date getFbrq() 
    {
        return fbrq;
    }
    public void setFbr(String fbr) 
    {
        this.fbr = fbr;
    }

    public String getFbr() 
    {
        return fbr;
    }
    public void setJianjie(String jianjie) 
    {
        this.jianjie = jianjie;
    }

    public String getJianjie() 
    {
        return jianjie;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setLiulanliang(Long liulanliang) 
    {
        this.liulanliang = liulanliang;
    }

    public Long getLiulanliang() 
    {
        return liulanliang;
    }
    public void setFujian(String fujian) 
    {
        this.fujian = fujian;
    }

    public String getFujian() 
    {
        return fujian;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("parentId", getParentId())
            .append("parentName", getParentName())
            .append("title", getTitle())
            .append("fbrq", getFbrq())
            .append("fbr", getFbr())
            .append("jianjie", getJianjie())
            .append("content", getContent())
            .append("liulanliang", getLiulanliang())
            .append("fujian", getFujian())
            .toString();
    }
}
